

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://displaytag.sf.net" prefix="display" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>User Details</title>

    </head>
    <body>
        <div>
        <display:table name="UserForm.products" requestURI="/userAction.do" pagesize="10" export="true">
                    <display:column property="code" title="Product Code" sortable="true" media="html" group="1" />
                    <display:column property="name" title="Product Name" sortable="true" />
                    <display:column property="brand" title="Brand" sortable="true" />
                    <display:column property="category.name" title="Category" sortable="true" media="html" group="1" />
                    <display:column property="details" title="Details" sortable="true" />
                    <display:column property="stockQuantity" title="Stock Quantity" sortable="true" />
                    <display:setProperty name="export.excel.filename" value="ActorDetails.xls"/>
                    <display:setProperty name="export.pdf.filename" value="ActorDetails.pdf"/>
                    <display:setProperty name="export.pdf" value="true" />
        </display:table>
            </div>
    </body>
</html>
